computation of share value